import request from '@/utils/request'

// 查询备用金审批列表
export function listOaImprestApproval(query) {
  return request({
    url: '/module/oaImprestApproval/list',
    method: 'get',
    params: query
  })
}

// 查询备用金审批详细
export function getOaImprestApproval(id) {
  return request({
    url: '/module/oaImprestApproval/' + id,
    method: 'get'
  })
}

// 新增备用金审批
export function addOaImprestApproval(data) {
  return request({
    url: '/module/oaImprestApproval',
    method: 'post',
    data: data
  })
}

// 修改备用金审批
export function updateOaImprestApproval(data) {
  return request({
    url: '/module/oaImprestApproval',
    method: 'put',
    data: data
  })
}

// 删除备用金审批
export function delOaImprestApproval(id) {
  return request({
    url: '/module/oaImprestApproval/' + id,
    method: 'delete'
  })
}
